import React from 'react'
import {View} from '@tarojs/components'
import './PageLoading.scss'

interface Props {
  color?: string
}

const PageLoading: React.FC<Props> = React.memo(({color = '#5b4dbc'}) => {
    return <View className='pageloading' style={{color: color}}>
        <View className='pageloading_item' />
        <View className='pageloading_item' />
        <View className='pageloading_item' />
        <View className='pageloading_item' />
    </View>
})

export default PageLoading
